home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Environments / PowerFantasm™ 4.19a / Beginners guide / Beginners Mac Assembly - ed.srd / Beginners Mac Assembly - ed.srd.rsrc / PICT_13.png < prev    next >
Portable Network Graphic  |  1996-08-28  |  125KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | reckoner | sky
OCR: poin uat2memry location 998 BVihen rwe ugtet thelavorb bisized trahaita baglao4'tPthgrataokg the SP will TOM contain 1000 again. Any of the address registers can be used as a stack. but A7 is the hardware stack pointer Whenev er the processor needs to put something on the stack 11 will use A7. If the abbreviation SP IS pesn then A7 IS pesn bv Fantasm example (see f vou can follow this through. I know haven introduced the various instructions vet. move. 1 do, -(sp) bsr op something move. (sp do This example shows how to preserve the value of D0, as a long, whilst the program branches to op something. op something IS what is called subroutine. Generally used to carry out common tasks needed bv i program, and to make a program a lot more readable! When the subroutine IS finisl hed. control wi ...